package com.pig4cloud.pigx.contract.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * WebSocket k线查询条件
 *
 */
@Data
public class AppContractKLineCurrentDTO implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 币对id 必填
	 */
	@NotNull
	private String symbolName;

	/**
	 * k线类型 -> ContractKLineConstants
	 */
	@NotNull
	private String kLineType;

	/**
	 * 响应时间数据的 format格式
	 */
	@NotNull
	private String dateFormat;
}
